package com.lh.util;

import com.lh.entity.User;

/**
 * @author liuhui
 * @version 1.0
 * @date 2013-4-29 下午1:16:10
 */
public class SessionUtil {
	private static ThreadLocal<User> local = new ThreadLocal<User>();
	
	public static void setUser(User u){
		local.set(u);
	}
	public static User getUser(){
		return local.get();
	}
}
